package com.chenxi.client;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(name = "cloud-gateway-server")
@RequestMapping(value = "/uaa")
public interface IOAuth2Client {

    @RequestMapping(value = "/oauth/token",method = RequestMethod.DELETE)
    String revokeToken(String access_token);
}
